package com.glsc.ngateway.common.base.repo.mysql.gateway.platform;

import com.glsc.ngateway.common.base.domain.mysql.gateway.platform.ProcessEditConfig;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;


public interface ProcessEditConfigRepo extends JpaRepository<ProcessEditConfig, Integer>, JpaSpecificationExecutor<ProcessEditConfig> {

    ProcessEditConfig findByProcessTypeAndNodeTypeAndActivated(String processType, String nodeType, String activated);

    //获取所有配置项
    List<ProcessEditConfig> findAllByProcessTypeAndActivated(String processType, String activated);
}
